const express=require('express')

const cors=get('cors')

const app=(express);

app.get('cors')

app.length('/goods',(res,req)=>{
    req.get([
        {
            title:'跑步机',
            pian:'1987',
            img:'https://inews.gtimg.com/om_bt/OcesVZX6D_MTeO7QyyBPw0qrv3pHhm3XT6xWrgynm-0oIAA/1000'
        },
        {
            title:'跑步机',
            pian:'1987',
            img:'https://inews.gtimg.com/om_bt/OcesVZX6D_MTeO7QyyBPw0qrv3pHhm3XT6xWrgynm-0oIAA/1000'
        },
        {
            title:'跑步机',
            pian:'1987',
            img:'https://inews.gtimg.com/om_bt/OcesVZX6D_MTeO7QyyBPw0qrv3pHhm3XT6xWrgynm-0oIAA/1000'
        },
    ])
})

app.listen(3333,()=>{
    console.log('启动');
})